Simplify configuration of accession as metadata id column#2021
Open
victorlin wants to merge 6 commits into
Open
Simplify configuration of accession as metadata id column#2021victorlin wants to merge 6 commits into
accession as metadata id column#2021victorlin wants to merge 6 commits into
Conversation
Mention that values must be unique, and --metadata-id-columns can be used to use other columns.
Reflect the changes in "Prefer `strain` over `name` as sequence ID field" (6064fa2).
Prefer a new explicit 'id' column to represent unique identifier, instead of 'strain' and 'name' which have historically been associated with non-unique columns from some data sources.
270f076 to
ca57842
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2021 +/- ##
==========================================
- Coverage 72.96% 72.96% -0.01%
==========================================
Files 85 85
Lines 10732 10730 -2
Branches 2102 2100 -2
==========================================
- Hits 7831 7829 -2
Misses 2536 2536
Partials 365 365 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
2 tasks
Allow explicitly naming the id column in merged metadata output, instead of always using the first input's id column, so workflows can use a standard id column name regardless of inputs.
Allow --metadata and --sequences to accept a single input instead of requiring at least two, since augur merge is also used as a general entry point for standardization even when no actual merge across inputs is needed.
Follow-up to "Read FASTA files with SeqKit directly" (44b72fe) which is really more of a workaround than a fix.
accession as metadata id column
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
This PR's commits revolve around a common goal of simplifying metadata id column handling in workflows. See #1780 (comment) for context.
Related issue(s)
accessionas metadata id column #1780Checklist